import { defineConfig } from "windicss/helpers";
export default defineConfig({
  preflight: false,
  extract: {
    include: ["src/**/*.{html,vue,jsx,tsx,svelte}"],
  },
  darkMode: "class",
  shortcuts: {
    "color-transition": "transition-colors duration-200 ease-in-out delay-0",
    "btn-icon":
      "dark:bg-[rgb(41,49,79)] dark:text-[rgb(124,77,255)] w-[34px] text-[16px] h-[34px] flex items-center justify-center bg-[rgb(237,231,246)] text-[rgb(94,53,177)] rounded-[8px] color-transition select-none cursor-pointer hover:(bg-[rgb(94,53,177)] text-[rgb(237,231,246)])",
    "bg-primary":
      "dark:bg-bgPrimaryColor-dark light:bg-bgPrimaryColor-light bg-bgPrimaryColor-light",
    "bg-container":
      "dark:bg-bgContainerColor-dark light:bg-bgContainerColor-light bg-bgContainerColor-light",
    "text-primary":
      "dark:text-textPrimaryColor-dark light:text-textPrimaryColor-light text-textPrimaryColor-light",
    disabled:
      "cursor-not-allowed text-[rgba(255,255,255,0.25)] pointer-events-none",
  },
  theme: {
    extend: {
      colors: {
        bgPrimaryColor: {
          dark: "rgb(17, 25, 54)",
          light: "#ffffff",
        },
        bgContainerColor: {
          dark: "rgb(26, 34, 63)",
          light: "rgb(238, 242, 246)",
        },
        textPrimaryColor: {
          dark: "#ffffff",
          light: "#121926",
        },
      },
      screens: {
        mobile: "300px",
        tablet: "640px",
        laptop: "1024px",
        desktop: "1280px",
      },
    },
  },
});
